/* =========================================
   1. VIBRANT THEME VARIABLES
   ========================================= */
:root {
    /* Brand Core */
    --col-purple: #4A144B;
    --col-pink: #ff3399;
    --col-gold: #d4af37;
    
    /* Friendly Pastels */
    --bg-body: #fdfbf7;
    --bg-soft-pink: #fff0f6;
    --bg-soft-purple: #f3eafa;
    --bg-soft-green: #e6f7f4;
    --bg-soft-peach: #fff5e6;
    
    --text-dark: #2d2d2d;
    --text-light: #666;
    
    --font-head: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --radius-card: 24px;
    --radius-pill: 50px;
    --shadow-hover: 0 15px 35px rgba(74, 20, 75, 0.12);
    --shadow-soft: 0 5px 20px rgba(0,0,0,0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    background-color: var(--bg-body); 
    color: var(--text-dark); 
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* =========================================
   2. LAYOUT (Sidebar + Feed)
   ========================================= */
.page-wrapper {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

/* --- LEFT SIDEBAR (Sticky Navigation) --- */
.sidebar {
    padding: 40px 30px; position: sticky; top: 0; height: 100vh;
    border-right: 1px solid rgba(0,0,0,0.05); background: white;
    display: flex; flex-direction: column; justify-content: space-between;
    z-index: 100;
}

.brand { 
    font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; 
    color: var(--col-purple); display: flex; align-items: center; gap: 5px;
}
.brand span { color: var(--col-pink); font-size: 2rem; line-height: 0; margin-bottom: 5px; }

.nav-menu { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-top: 40px; }

.nav-item {
    padding: 12px 20px; border-radius: 15px; font-weight: 600; color: #777;
    cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 12px;
}
.nav-item:hover, .nav-item.active { 
    background: var(--bg-soft-pink); color: var(--col-purple); 
}
.nav-item i { width: 20px; font-size: 1.1rem; }
.journal-badge {
    display:none;
    font-family: var(--font-body); font-size: 0.7rem; background: var(--bg-soft-purple);
    color: var(--col-purple); padding: 4px 8px; border-radius: 6px; font-weight: 700;
    text-transform: uppercase; margin-left: 5px;
}
/* Daily Quote Box in Sidebar */
.daily-spark {
    background: var(--bg-soft-purple); padding: 25px; border-radius: 20px;
    text-align: center; margin-bottom: 20px;
}
.spark-icon { font-size: 1.5rem; color: var(--col-purple); margin-bottom: 10px; }
.spark-text { font-family: var(--font-head); font-style: italic; font-size: 1rem; color: var(--text-dark); line-height: 1.4; }

/* --- RIGHT CONTENT AREA --- */
.main-content {
    padding: 50px 60px;
    padding-bottom:0px !important;
}

/* =========================================
   3. HERO HEADER (Interactive & Colorful)
   ========================================= */
.header-section { margin-bottom: 60px; }

.welcome-tag {
    display: inline-block; background: var(--bg-soft-peach); color: #d48806;
    padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px;
}

.big-headline { 
    font-family: var(--font-head); font-size: 4rem; line-height: 1.1; 
    margin-bottom: 25px; color: var(--col-purple);
}
.big-headline span { color: var(--col-pink); font-style: italic; }

/* Mood Pills */
.mood-container { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin-top: 30px; }
.mood-label { font-weight: 700; color: #999; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

.mood-btn {
    border: none; padding: 10px 25px; border-radius: 50px; font-weight: 600; cursor: pointer;
    transition: 0.3s; font-size: 0.95rem; display: flex; align-items: center; gap: 8px;
}

/* Specific Colors for Moods */
.mood-anxious { background: white; border: 2px solid #eee; color: #555; }
.mood-anxious:hover { background: var(--bg-soft-blue); border-color: var(--bg-soft-green); color: #00897b; }

.mood-hopeful { background: white; border: 2px solid #eee; color: #555; }
.mood-hopeful:hover { background: var(--bg-soft-peach); border-color: #ffe0b2; color: #fb8c00; }

.mood-confused { background: white; border: 2px solid #eee; color: #555; }
.mood-confused:hover { background: var(--bg-soft-purple); border-color: #d1c4e9; color: var(--col-purple); }

.mood-active { background: var(--col-purple); color: white; border-color: var(--col-purple); }

/* =========================================
   4. FEATURED CARD (The "Wow" Factor)
   ========================================= */
.featured-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
    background: white; border-radius: 30px; padding: 10px;
    box-shadow: var(--shadow-soft); margin-bottom: 80px; position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}
.featured-img-box { height: 450px; border-radius: 25px; overflow: hidden; position: relative; }
.featured-content { padding: 40px; }

.f-tag { color: var(--col-pink); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; margin-bottom: 15px; display: block; }
.f-title { font-family: var(--font-head); font-size: 2.8rem; line-height: 1.1; margin-bottom: 20px; color: var(--text-dark); }
.f-desc { color: var(--text-light); font-size: 1.1rem; margin-bottom: 30px; }

.btn-read {
    background: var(--col-purple); color: white; padding: 15px 35px; border-radius: 50px;
    font-weight: 700; display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 20px rgba(74, 20, 75, 0.2);
}
.btn-read:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(74, 20, 75, 0.3); background: var(--col-pink); }

/* =========================================
   5. Z-PATTERN ARTICLES (Friendly Layout)
   ========================================= */
.feed-section { display: flex; flex-direction: column; gap: 80px; }

.story-row {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center;
    padding: 30px; border-radius: 30px; transition: 0.3s; cursor: pointer;
}
.story-row:hover { background: white; box-shadow: var(--shadow-hover); transform: translateY(-5px); }

/* Alternate Layout */
.story-row.alt { direction: rtl; } 
.story-row.alt .story-content { direction: ltr; text-align: left; }

.s-img-wrap { height: 350px; border-radius: 25px; overflow: hidden; position: relative; }
.s-badge { 
    position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,0.95);
    padding: 8px 15px; border-radius: 30px; font-size: 0.8rem; font-weight: 700; 
    color: var(--col-purple); box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.s-title { font-family: var(--font-head); font-size: 2rem; margin-bottom: 15px; color: var(--text-dark); line-height: 1.2; }
.s-p { color: var(--text-light); font-size: 1rem; margin-bottom: 20px; line-height: 1.6; }
.s-link { color: var(--col-pink); font-weight: 700; border-bottom: 2px solid transparent; }
.story-row:hover .s-link { border-color: var(--col-pink); }

/* =========================================
   6. COMMUNITY CTA (Colorful & Fun)
   ========================================= */
.community-box {
    background: linear-gradient(135deg, #fff0f6 0%, #f3eafa 100%);
    border-radius: 40px; padding: 80px; text-align: center; margin-top: 100px;
    position: relative; overflow: hidden;
}
/* Decorative Circles */
.circle-dec { position: absolute; border-radius: 50%; opacity: 0.5; }
.c1 { width: 200px; height: 200px; background: #ffccde; top: -50px; left: -50px; }
.c2 { width: 150px; height: 150px; background: #dcd6f7; bottom: 20px; right: -30px; }

.com-content { position: relative; z-index: 2; }
.com-h { font-family: var(--font-head); font-size: 3rem; margin-bottom: 15px; color: var(--col-purple); }
.com-p { font-size: 1.2rem; color: #666; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn-primary {
    background: var(--col-purple); color: white; padding: 18px 40px; border-radius: 50px;
    font-size: 1.1rem; font-weight: 700; display: inline-block;
    box-shadow: 0 10px 30px rgba(74, 20, 75, 0.2); transition: 0.3s;
}
.btn-primary:hover { transform: scale(1.05); background: var(--col-pink); }
.bottom-nav { display:none; }
footer { display:none; }
/* Responsive */
@media (max-width: 1024px) {
    .page-wrapper { grid-template-columns: 1fr; }
    .mobile-menu { display:none !important; }
    .sidebar { 
        height: auto; position: relative; border-right: none; padding: 20px; 
        flex-direction: row; align-items: center; border-bottom: 1px solid #eee;
    }
    .nav-menu, .daily-spark { display: none; } /* Hide complicated elements on mobile */
    .journal-badge {
        display:block;
    }
    .main-content { padding: 40px 20px; }
    .big-headline { font-size: 2.5rem; font-weight: bold; }
    .f-title {
        font-size: 1.8rem;
        line-height: 1.2;
        font-weight: bold;
    }
    .featured-card { grid-template-columns: 1fr; gap:10px; margin-bottom:20px; }
    .featured-content { padding: 10px 10px; }
    .featured-img-box { height: 300px; }
    .feed-section { gap:20px; }
    
    .story-row { grid-template-columns: 1fr; padding: 20px; gap: 20px; direction: ltr !important;  background: #fff !important; }
    .s-img-wrap { height: 250px; }
    .story-row:hover { transform: none; box-shadow: none; background: transparent; }
    .s-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
        font-weight:bold;
        color: var(--text-dark);
    }
    
    .community-box { padding: 40px 20px; margin-top:30px; margin-bottom: 100px; }
    .com-h { font-size: 2rem; }
    .mood-label { display:block; width:100%; }
    .mood-btn {
        border: none;
        padding: 4px 10px;
        border-radius: 50px;
        font-size:12px;
    }
    .btn-read {
        text-align: center;
        width: 100%;
        display: block;
    }
    
    /* =========================================
       7. BOTTOM NAVIGATION
       ========================================= */
    .bottom-nav {
        position: fixed; bottom: 0; left: 0; width: 100%;
        background: white; padding: 12px 25px; 
        border-top: 1px solid #f0f0f0;
        display: flex; justify-content: space-between; align-items: center; z-index: 900;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.02);
    }
    .nav-item { 
        text-align: center; color: #ccc; font-size: 0.65rem; font-weight: 600; 
        text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 4px; 
    }
    .nav-item i { font-size: 1.2rem; }
    
    .nav-item.active { color: var(--col-pink); } /* Active state for Journal page */

    .whatsapplogo {
        display:none !important;
    }
    footer { display:none; }
    
}
/* Mobile hamburger placeholder */
.mobile-menu { display: none; font-size: 1.5rem; color: var(--col-purple); }
@media (max-width: 1024px) { .mobile-menu { display: block; } }